package cn.edu.gdut.deepcode.constant;

/**
 * <p>
 * 响应信息常量
 * </p>
 *
 * @Author: 暮倦
 * @Since: 2025-04-08  21:04
 * @Version: 1.0.0
 */
public class ReqRespConstant {

    // >>>>>>>>>>响应常量开始
    public static final String COMMON_SUCCESSFUL_MSG ="successful";
    public static final String COMMON_ERROR_MSG ="error";
    public static final int SERVER_ERROR_CODE =500;
    public static final int SUCCESSFUL_CODE =200;
    public  static final String AUTHORIZATION_HEADER_NAME="Authorization";
    // <<<<<<<<<<响应常量结束

    // >>>>>>>>>>请求常量开始
    public static final String OPTIONS_METHOD_NAME ="OPTIONS";
   // <<<<<<<<<<请求常量结束

    // >>>>>>>>>>分享码常量开始
    public static final int SHARED_CODE_EXPIRED_CODE =450;
    public static final String SHARED_CODE_EXPIRED_MSG ="分享码过期";

    public static final int ILLEGAL_SHARED_CODE_CODE =451;
    public static final String ILLEGAL_SHARED_CODE_MSG ="非法分享码";

    public static final int UNNECESSARY_SHARED_CODE_CHECK_CODE =452;
    public static final String UNNECESSARY_SHARED_CODE_CHECK_MSG ="无需加入协作";

    public static final int SHARED_CODE_REPEATED_CHECK_CODE =453;
    public static final String SHARED_CODE_REPEATED_CHECK_MSG ="已加入协作";


    public static final int REPEAT_GEN_SHARED_CODE_CODE =454;
    public static final String REPEAT_GEN_SHARED_CODE_MSG ="重复生成分享码";
    // <<<<<<<<<<分享码常量结束
}
